How Edge Computing Is Powering Generative AI for Industry 4.0 Applications